from rest_framework import serializers

from system_log.models import LoginLog, OpLogs, QueryLog


class LoginLogSerializer(serializers.ModelSerializer):
    class Meta:
        model = LoginLog
        fields = '__all__'


class OpLogsSerializer(serializers.ModelSerializer):
    class Meta:
        model = OpLogs
        fields = '__all__'


class QueryLogSerializer(serializers.ModelSerializer):
    class Meta:
        model = QueryLog
        fields = '__all__'
